@charset "UTF-8";
@import url("../backstageManage/index.css");

.main-wrapper {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: 3px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 24px;

    .searchbox {
        display: inline-block;
        width: 240px;
    }

    .right-operate-con {
        float: right;
    }

    .right-operate-con .btn-group {
        top: -1px;
    }

    .standard-table-body-con {
        margin-top: 16px;
    }

    // table.dataTable.no-footer {
    //     border: 1px solid #DFE4ED;
    // }

    .btn-default .caret {
        border-left-color: #A2AABB !important;
        border-bottom-color: #A2AABB !important;
    }

    .dataTables_empty {
        height: 80px !important;
        padding: 0px 24px 0px 24px !important;
    }

    .blank-icon {
        padding: 22px 0 22px 0;
        height: 80px;
    }

    .blank-icon .msg {
        margin: 6px 0 12px;
    }

    #standard_table a {
        margin-right: 6px;
        cursor: pointer;

        &:visited {
            color: #2985F7;
        }
    }

    table.dataTable thead th,
    table.dataTable thead td,
    table.dataTable tbody th,
    table.dataTable tbody td {
        padding: 10px 12px !important;
    }
    .state-lable {
        &::before {
            content: "";
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 4px;
        }
    }
    .start-state {
        &::before {
            background-color: #2985F7;
        }
    }
    .stop-state {
        &::before {
            background-color: #A2AABB;
        }
    }
    .error-state {
        &::before {
            background-color: #f00;
        }
    }
}

.drawer {
    .drawer-content {
        padding-top: 0;
    }

    .drawer-body {
        overflow-y: auto;
        height: calc(100% - 136px);
    }

    .checkbox {
        margin: 16px 0;
    }
}

.addDialog {
    .idlg-main {
        overflow-y: auto;
    }

    .idlg-footer {
        height: 64px;
        padding-top: 16px;
        border-top: 1px solid #dfe4ed;
    }

    .form-default {
        padding: 16px 8px;
        border: none;
    }
}

.classifyDialog {
    .idlg-main {
        overflow-y: auto;
    }

    .idlg-footer {
        height: 64px;
        padding-top: 16px;
        border-top: 1px solid #dfe4ed;
    }

    .form-default {
        padding: 16px 8px;
        border: none;
    }

    .search-wrap {
        margin-bottom: 16px;
    }

    #grid-demo-1 {
        a {
            margin-right: 6px;
            cursor: pointer;
        }

        .blank-icon {
            padding: 24px 0;
        }
    }
}

.relateDialog {
    .idlg-main {
        overflow-y: auto;
    }
}

#addModal,
#editModal {
    z-index: 999999;

    .modal-dialog {
        top: 30%;
        width: 450px;
        height: 211px;
    }

    .form-default {
        padding: 0;
        border: none;
    }
}

.modal-backdrop {
    background-color: transparent;
}

.imgDialog {
    .idlg-main {
        padding: 0 28px 28px !important;
    }

    .img-header {
        color: #030F1C;
        font-weight: bold;
        display: flex;
        align-items: center;
        margin-bottom: 16px;

        .aidicon-file-document {
            color: #2985F7;
            margin-right: 6px;
        }
    }
}

.select2-dropdown {
    z-index: 99999;
}

.photoUpload {
    float: left;
    width: 104px;
    height: 104px;
    text-align: center;
    border-radius: 3px;
    border: 1px dashed #CFD6E4;
    background-color: #fff;
    padding: 8px;
    margin-top: 10px;
    cursor: pointer;
}

.photoUpload:hover,
.photoUpload:hover i,
.photoUpload:hover .photoUpload-info {
    color: #2985F7;
}

.photoUpload i {
    color: #A2AABB;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 6px;
}

.photoUpload .photoUpload-info {
    color: #A2AABB;
    font-size: 14px;
}

.photoUpload-ul {
    float: left;
    list-style: none;
    padding-left: 0;
}

.photoUpload-li {
    float: left;
    position: relative;
    margin-right: 20px;
    width: 104px;
    height: 104px;
    padding: 8px;
    margin-top: 10px;
    border-radius: 3px;
    border: 1px dashed #CFD6E4;
}

.photoUpload-li-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.photoUpload-loading-wrap {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 11;
    overflow: hidden;
}

.photoUpload-li img {
    position: relative;
    z-index: 9;
    width: 100%;
    border-radius: 3px;
    background-color: #fff;
}

#photoUpload-loading {
    position: absolute;
    width: 208px;
    height: 208px;
    top: -52px;
    left: -52px;
}

.photoUpload-delete {
    display: none;
    position: absolute;
    font-size: 16px;
    top: -5px;
    right: -5px;
    z-index: 12;
    cursor: pointer;
}

.reUpload {
    display: none;
    position: absolute;
    font-size: 14px;
    bottom: 0px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    z-index: 12;
    cursor: pointer;
    background: rgba(14, 16, 17, 0.4);
}

.photoUpload-li.photoUpload-active .photoUpload-delete,
.photoUpload-li.photoUpload-active .reUpload {
    display: block;
}